package com.zb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName TbSkuModel
 * @Description 商品表模型对象
 * @Author xm
 * @Date 2024/11/06 17:13
 **/
@Data
    @EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_sku")

public class TbSkuModel implements Serializable{

private static final long serialVersionUID=1L;


                    @TableId(value = "id", type = IdType.UUID)
                private String id;

        private String sn;


        private String name;


        private Integer price;


        private Integer num;


        private Integer alertNum;


        private String image;


        private String images;


        private Integer weight;


        private Date createTime;


        private Date updateTime;


        private String spuId;


        private Integer categoryId;


        private String categoryName;

        private String brandName;


        private String spec;


        private Integer saleNum;


        private Integer commentNum;


        private String status;

        private Integer version;


        }
